Population class extension: Monte-Carlo sampling functions module

Main script to provide the Monte-Carlo sampling class extensions

Some tasks to consider doing soon TODO: add option to add a secondary probability distribution to each parameter. This enables adaptive importance sampling

class binarycpython.utils.population_extensions.monte_carlo_sampling.monte_carlo_sampling(**kwargs)[source]

Bases: object

Extension for the Population class containing the code for Monte-Carlo sampling functions

monte_carlo_sampling_write_binary_c_calls_to_file(output_file, include_defaults)[source]

Function to write the generated grid to a file. TODO: this can be merged with the original write_binary_c_calls to file … Have the get_generator handle the setup